package com.alibaba.openfeign.controller;

import com.alibaba.openfeign.service.FeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConsumerController {
    @Autowired
    private FeignService feignService;

    @GetMapping("/test")
    public String testA(){
        return feignService.testA();
    }
}
